using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Topology
{
    /// <summary>
    /// <para>Remove Feature Class From Topology</para>
    /// <para>Removes a feature class from a topology.</para>
    /// <para>从拓扑中移除要素类。</para>
    /// </summary>    
    [DisplayName("Remove Feature Class From Topology")]
    public class RemoveFeatureClassFromTopology : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public RemoveFeatureClassFromTopology()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_topology">
        /// <para>Input Topology</para>
        /// <para>The topology from which to remove the feature class.</para>
        /// <para>要从中移除要素类的拓扑。</para>
        /// </param>
        /// <param name="_in_featureclass">
        /// <para>Feature Class to Remove</para>
        /// <para>The feature class to remove from the topology.</para>
        /// <para>要从拓扑中移除的要素类。</para>
        /// </param>
        public RemoveFeatureClassFromTopology(object _in_topology, object _in_featureclass)
        {
            this._in_topology = _in_topology;
            this._in_featureclass = _in_featureclass;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Remove Feature Class From Topology";

        public override string CallName => "management.RemoveFeatureClassFromTopology";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_topology, _in_featureclass, _out_topology];

        /// <summary>
        /// <para>Input Topology</para>
        /// <para>The topology from which to remove the feature class.</para>
        /// <para>要从中移除要素类的拓扑。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Topology")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_topology { get; set; }


        /// <summary>
        /// <para>Feature Class to Remove</para>
        /// <para>The feature class to remove from the topology.</para>
        /// <para>要从拓扑中移除的要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Feature Class to Remove")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_featureclass { get; set; }


        /// <summary>
        /// <para>Updated Input Topology</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Input Topology")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_topology { get; set; }


        public RemoveFeatureClassFromTopology SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}